<%@ Page Language="C#" MasterPageFile="~/Main.master" AutoEventWireup="true" CodeFile="AdminHelp.aspx.cs"
    Inherits="AdminHelp" Title="The Forecast Exchange - Admin help" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <h1>
        Admin documentation topics</h1>
    <ul>
        <li><a href="#adduser">How to add a new user</a></li>
    </ul>
    <div class="horRule">
        <hr />
    </div>
    <a name="adduser">
        <h2>
            How to add a new user</h2>
    </a>
    <p>
        There are currently no online user administration. To add a new user you have to
        do the following:
        <ol>
            <li>Add a new <i>User</i> element to the Users.xml file located in the App_Data folder.
                Provide a unique username, a password and the users email. It should look like this:<br />
                <pre>&lt;User&gt;
    &lt;UserName&gt;test&lt;/UserName&gt;
    &lt;Password&gt;test&lt;/Password&gt;
    &lt;EMail&gt;test@gmail.com&lt;/EMail&gt;
&lt;/User&gt;</pre>
            </li>
            <li>Add the user to one or more roles in the UserRoles.xml file, also located in the
                App_Data folder. The default role for most users is <i>Trader</i>. TO add more than
                one role you must separate them using the ',' character. It should look like this:<br />
                <pre>&lt;User&gt;
    &lt;UserName&gt;test&lt;/UserName&gt;
    &lt;Roles&gt;Trader&lt;/Roles&gt;
&lt;/User&gt;</pre>
            </li>
            <li>Create the user in the ForecastExchange database with the same username used in
                the previous steps.</li>
            <li>Inform the user about his username and password.</li>
        </ol>
    </p>
</asp:Content>
